#pragma once

#include <string>
#include <vector>
#include "db_handler.h"

namespace TakeAwayPlatform
{
    class DeliveryPersonModule
    {
    public:
        DeliveryPersonModule(DatabaseHandler& dbHandler);

        bool acceptOrder(int delivery_person_id, int order_id);
        bool deliverOrder(int delivery_person_id, int order_id);
        bool viewOrders(int delivery_person_id, std::vector<int>& order_ids);

    private:
        DatabaseHandler& dbHandler;
    };
}
